package com.googlecode.astoolkit.utils {
	
	import com.googlecode.astoolkit.modules.content.section.NullSection;
	
	

	dynamic public class MainNode extends AbstractNode implements INode{
		
		public function MainNode(data:XML) {
			super(data);
			id = data.@id;
			//this.label = data.@label;
			//label = data.@label;
			this.path = "";
			//className = "";
			parent = new NullNode();
			this.instance = new NullSection();
		}
		
		 public function toString():String{
			return "[object MainNode id:\""+id+"\" numChildren:\""+children.length+"\"]";
		} 

	}
}